// 单行文本超出显示省略号
@mixin no-wrap() {
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// 多行文本超出显示省略号
// https://github.com/postcss/autoprefixer/issues/776
@mixin no-wrap-multi($linNum) {
  /*! autoprefixer: off */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $linNum;
  overflow: hidden;
  text-overflow: ellipsis;
}

// flex-水平垂直居中
@mixin flex-center() {
  display: flex;
  align-items: center;
  justify-content: center;
}

// flex-垂直不居中
@mixin flex-align-center() {
  display: flex;
  // justify-content: center;
  align-items: center;
}

// flex-垂直两端对齐
@mixin flex-space-between() {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
